﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace FinalProject.Entities
{
    public class UserDetails
    {
        public int Id { get; set; }

        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime DateCreated { get; set; }

        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime LastUpdated { get; set; }

        public int CompanyId { get; set; }
        public virtual Company Company { get; set; }

        public virtual User User { get; set; }
    }
}
